﻿Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.ComponentModel
Imports System.Xml.Serialization

Namespace DataModel
    Class SimpleDataObject
        Inherits Base.BaseObject


        Public Property Index() As Long
            Get
                Return m_Index
            End Get
            Set(ByVal value As Long)
                If m_Index = value Then
                    Return
                End If

                m_Index = value
                OnPropertyChanged("Index")
            End Set
        End Property
        Private m_Index As Long

        Public Property Text() As String
            Get
                Return m_Text
            End Get
            Set(value As String)
                m_Text = value
                OnPropertyChanged("Text")
            End Set
        End Property
        Private m_Text As String



        Public Property Description() As String
            Get
                Return m_Description
            End Get
            Set(ByVal value As String)
                If m_Description = value Then
                    Return
                End If

                m_Description = value
                OnPropertyChanged("Description")
            End Set
        End Property
        Private m_Description As String


    End Class
End Namespace